<?php 
/*
Engineer: Alex Arey, Sean Margison
Updated: 12/04/2011
Description: Displays selected organization's data.
*/
?>
<?php 
	$vr = null;
	if($this->request){
		$vr = $this->request;
	}
?>
<?php if($vr):?>
	<h3>Volunteer Position Details</h3>
		<dl>
	  	  	<dt>Position Title</dt>
				<dd><?php echo $vr['POSITIONTITLE'] ?></dd>
			<dt>Organization Name</dt>
				<dd><?php echo $this->partner ?></dd>
			<dt>Number Requesting</dt>
				<dd><?php echo $vr['NUMBERREQUESTING']?></dd>
			<dt>Term</dt>
				<dd><?php echo $vr['TERM']?></dd>
			<dt>Description</dt>
				<dd><?php echo $vr['DESCRIPTION']?></dd>
			<dt>Special Requirements</dt>
				
				<?php 
					if($vr['REQVEHICLE']=='y') echo"<dd>Vehicle</dd>";
					if($vr['REQBGCHECK']=='y') echo"<dd>Background Check</dd>";
					if($vr['REQHEAVYLIFTING']=='y') echo"<dd>Heavy Lifting</dd>";
					if($vr['REQINTERVIEW']=='y') echo"<dd>Interview</dd>";
					if($vr['REQSPANISH']=='y') echo"<dd>Spanish</dd>";
					if($vr['REQTBTEST']=='y') echo"<dd>TB Test</dd>";
				?>
			<dt>Other Requirements</dt>
				<dd><?php echo $vr['REQOTHERDESC']?></dd>
		</dl>
<?php endif; ?>
<?php if(!$vr):?>
	<h3>The position requested does not exist or you do not have permission to view the position.</h3>
<?php endif; ?>